.container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.content {
  margin-top: 45px;
}

/* Tab导航样式 */
.tabContainer {
  display: flex;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
}

.tabItem {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.tabItem.active {
  color: #1890ff;
  font-weight: 500;
}

.tabItem.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #1890ff;
  border-radius: 1px;
}

/* 记录列表样式 */
.recordsList {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recordCard {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 卡片头部 */
.cardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.titleSection {
  display: flex;
  align-items: center;
  gap: 8px;
}

.titleBar {
  width: 4px;
  height: 16px;
  background-color: #1890ff;
  border-radius: 2px;
}

.title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.statusTag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.statusPending {
  background-color: #fff2e8;
  color: #ff9500;
}

.statusApproved {
  background-color: #e6f7ff;
  color: #1890ff;
}

.statusDelivered {
  background-color: #e6f7ff;
  color: #1890ff;
}

.statusCancelled {
  background-color: #f5f5f5;
  color: #999;
}

.statusUnknown {
  background-color: #f5f5f5;
  color: #999;
}

/* 卡片内容 */
.cardContent {
  margin-bottom: 16px;
}

.detailRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.detailRow:last-child {
  margin-bottom: 0;
}

.label {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.value {
  font-size: 14px;
  color: #333;
  text-align: right;
  flex: 1;
  margin-left: 12px;
}

.amount {
  font-size: 14px;
  color: #ff4d4f;
  font-weight: 500;
  text-align: right;
  flex: 1;
  margin-left: 12px;
}

/* 卡片底部 */
.cardFooter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cancelButton {
  background-color: white;
  color: #666;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancelButton:hover {
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.detailButton {
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detailButton:hover {
  background-color: #40a9ff;
}

.detailButton:active {
  background-color: #096dd9;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .tabItem {
    padding: 14px 8px;
    font-size: 13px;
  }
  
  .recordCard {
    padding: 12px;
  }
  
  .title {
    font-size: 15px;
  }
  
  .detailRow {
    margin-bottom: 6px;
  }
  
  .label,
  .value,
  .amount {
    font-size: 13px;
  }
}

